package com.gxuwz.zlc.service;

import com.gxuwz.zlc.entity.Apply;
import com.gxuwz.zlc.entity.Lab;

import java.util.List;

public interface ApplyService {

    // 查询
    public List<Apply> findApply();

    // 根据id查询
    public Apply findApplyById(Integer applyId);

    // 添加
    public void addApply(Apply apply);

    // 修改
    public void updateApply(Apply apply);

    // 删除
    public void deleteApply(Integer applyId);

    /**
     * 根据学号修改报名表信息
     * @param apply
     * @param stuId
     */
    public void updateApplyByStuId(Apply apply,String stuId);

    /**
     * 根据学号查询报名表
     * @param stuId
     * @return
     */
    public Apply findApplyByStuId(String stuId);
}
